#include <iostream>
#include <stdio.h>

using namespace std;
int main(int argc,char *argv[], char *env[])
{
    cout << "hello C++" << endl;

    for(int i = 0; i < argc; i++)
    {
        printf("argv[%d]:%s\n",i,argv[i]);
    }

    printf("\n");

    for(int i = 0; env[i]; i++)
    {
        printf("env[%d]:%s\n",i,env[i]);
    }
    return 0;
}
